package com.csx.governance.traffic.adm.model.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Schema(description = "泳道子策略实体")
public class SwimLaneSubStrategy  {
    /**
     *
     * 泳道ID
     */
    @Schema(description = "泳道ID")
    private String swimLaneId;

    /**
     * 权重值
     */
    @Schema(description = "权重值")
    private int weight;

    @Override
    public String toString() {
        return "SwimLane{" + swimLaneId + "=" + weight + "%}";
    }
}